package com.songtech.stateuser.dao;

import com.songtech.stateuser.bean.UserStatus;

import java.util.List;
import java.util.Map;

public interface UserStatusMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserStatus record);

    int insertSelective(UserStatus record);

    UserStatus selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserStatus record);

    int updateByPrimaryKey(UserStatus record);

    int onlineUserCount(Map<String,Object> map);

    int offlineUserCount(Map<String,Object> map);

    List<UserStatus> onlineUserByDay(Map<String,Object> map);

}
